#!user/bin/env python3
# -- coding: utf-8 --
# @Createtime：2023/9/7 18:07
# @Updatetime：18:07
# @Author：Test008
# @File：1-初始对象
# @Description：
# 1》设计类(类似于生活中的设计表格)
# 2》创建对象(类似于打印表格)
# 3》对对象属性赋值(填写表单)
# 4》获取对象中的记录信息
# class student(object):
#     name = None
#     age = 11
#     gender = None
#     addr = None
#
#
# stu = student()
# stu.name = '林梓熙'
# stu.age = 12
# stu.gender = '女'
# stu.addr = '林家庄二李屯'
# print(stu.name)
# print(stu.age)
# print(stu.gender)
# print(stu.addr)


class Student():
    name = None
    age = None
    gender = None


stu = Student()
stu.name = "lify"
stu.age = 11
stu.gender = "男"

print(stu.name)
print(stu.age)
print(stu.gender)

